#include "HIDPS2conv.h"
#include "ps2_client_ms.h"

#ifndef _HID_PS2_conv_MS_H
#define _HID_PS2_conv_MS_H

class HIDPS2conv_MS : public HIDPS2conv {
  private:
    static PS2_Client_MS *_PS2Client;
    void onRecvDataHID(int num, uint8_t *dataBuf, int nLen);

  public:
    void init(PS2_Client_MS *pPS2Client);
    static void ble_onRecvDataHID(BleServerConnector *pConnector, uint8_t *dataBuf, int nLen);
    static void usb_onRecvDataHID(USBClientConnector *pConnector, uint8_t *dataBuf, int nLen);

    bool addHidDevice(BleServerConnector *pConnector);
    bool addHidDevice(USBClientConnector *pConnector);
};

extern HIDPS2conv_MS _HIDPS2conv_MS;

#endif